<?php
namespace App\Lib\Transformer;
use League\Fractal\TransformerAbstract;
class UserTransformer extends  TransformerAbstract
{
    public function transform( $user)
    {
        return [
            'name' =>'ccccc'
        ];
    }
}